package com.zhangtai.modules.entity.promotion;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-10-12 10:40:19
 */
@Data
@TableName("tb_promotion_batch")
public class PromotionBatchEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
				@TableId(value = "id", type = IdType.AUTO)
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
	/**
	 *
	 */
	@ApiModelProperty("申请人")
	private String applyer;
	/**
	 *
	 */
	/**
	 *
	 */
	@ApiModelProperty("申请人工号")
	private String applyerCode;
	/**
	 *
	 */
	private Long unitId;
	/**
	 *
	 */
	/**
	 *
	 */
	@ApiModelProperty("申请人部门名称")
	private String unitname;
	/**
	 *
	 */
	/**
	 *
	 */
	@ApiModelProperty("申请人岗位")
	private String jobname;
	/**
	 *
	 */
	/**
	 *
	 */
	@ApiModelProperty("晋升类型")
	private Integer type;
	/**
	 *
	 */
	/**
	 *
	 */
	@ApiModelProperty("人数")
	private Integer number;
	/**
	 *
	 */
	/**
	 *
	 */
	@ApiModelProperty("文件url")
	private String fileUrl;
			/**
		 * 
		 */
			private Date createTime;

			private Integer isDelete;

	@ApiModelProperty(value="晋升人字文",required = false)
	private String promotionCode;

	private String reason;
	
}
